﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Carbon.Web.Forms.jQueryForms
{
    internal static class Errors
    {
        public static String MaxLengthExceeeded(int maxLength)
        {
            return string.Format(Resources.GetString("Error.MaxLengthExceeded"), maxLength);
        }

        public static String InvalidValue
        {
            get
            {
                return Resources.GetString("Error.FormatException");
            }
        }
        
        public static String ValueCannotBeEmpty
        {
            get
            {
                return Resources.GetString("Error.ValueCannotBeEmpty");
            }
        }

        public static String AtLeastOneFileMustBeUploaded
        {
            get
            {
                return Resources.GetString("Error.AtLeastOneFileMustBeUploaded");
            }
        }
    }
}
